﻿using MyCompany.MyProject.Model.Models.RootKey;
using MyCompany.MyProject.Model.Models.Tenants;

namespace MyCompany.MyProject.Model.Models;

/// <summary>
/// 业务数据
/// 多租户（Id隔离）
/// </summary>
public class BusinessTable : BaseEntity,ITenantEntity
{
    /// <summary>
    /// 无需手动赋值
    /// </summary>
    public long TenantId { get; set; }

    /// <summary>
    /// 名称
    /// </summary>
    public string? Name { get; set; }

    /// <summary>
    /// 金额
    /// </summary>
    public decimal Amount { get; set; }
}
